package com.xssn.util.properties;


import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


import java.io.Serializable;

@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "xssn.fjnd")
public class XssnOssProperties implements Serializable {

    // 会将 xssn.fjnd.aliyun 下的配置绑定到 AliyunProperties 对象属性上(配置在yml文件中)
    private AliyunOssProperties aliyun;

}
